import { REQUEST_TAG } from '@/config'
import { postRequest } from '../utils/request'
export const getList = <T>(data?: any): Promise<any> => postRequest(`/api/${REQUEST_TAG}/user/getUserList/user`, data)

export const deviceGrant = (data?: any): Promise<any> => postRequest(`/api/${REQUEST_TAG}/user/distributeDevice`, data)
